Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update return type for EVP_EncodeUpdate #1481

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

samuel40791765
Copy link
Contributor

Description of changes:

tpm2-tools expects EVP_EncodeUpdate to return an integer, instead of being a void function: tpm2-software/tpm2-tools@54a4178.

Apparently the return type of this has been updated since OpenSSL 1.1.0: openssl/openssl@cf3404f It seems worth updating to align with upstream.

Call-outs:

N/A

Testing:

Slightly modified the existing test.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.

@samuel40791765 samuel40791765 requested a review from a team as a code owner March 8, 2024 01:30
@codecov-commenter
Copy link

codecov-commenter commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 76.97%. Comparing base (b47c6ff) to head (3e5513f).

Files Patch % Lines
crypto/base64/base64.c 66.66% 2 Missing ⚠️
crypto/decrepit/bio/base64_bio.c 0.00% 2 Missing ⚠️
crypto/pem/pem_lib.c 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1481      +/-   ##
==========================================
- Coverage   77.05%   76.97%   -0.08%     
==========================================
  Files         425      425              
  Lines       71627    71631       +4     
==========================================
- Hits        55190    55140      -50     
- Misses      16437    16491      +54     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@smittals2 smittals2 self-requested a review March 8, 2024 18:18
smittals2
smittals2 previously approved these changes Mar 8, 2024
@samuel40791765 samuel40791765 enabled auto-merge (squash) March 11, 2024 22:41
@samuel40791765 samuel40791765 merged commit 6d9a767 into aws:main Mar 12, 2024
43 checks passed
@samuel40791765 samuel40791765 deleted the update-evp-update branch March 12, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants